extends "res://ui/msgBase/msgBase.gd"

var item:Item = null
var bfDir = config.bfDir
var utils = globalData.infoDs["g_azurlaneUtils"]

func init(item, txt):
	popup()
	self.item = item
	$txt.bbcode_text = txt
	set_size(Vector2(600, 400))

	# utils.createItemButton(self, self, "升级！", "upgrade", [], Vector2(260, 320))

func _on_txt_meta_clicked(meta):
	sys.newBaseMsg(meta, tr(bfDir[meta]))
